package com.hz.service.impl;

import com.hz.dao.WithdrawDepositDao;
import com.hz.pojo.WithdrawDeposit;
import com.hz.service.WithdrawDepositService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class WithdrawDepositServiceImpl implements WithdrawDepositService {

    @Resource
    private WithdrawDepositDao withdrawDepositDao;

    @Override
    public List<WithdrawDeposit> getWithdrawDepositList(String withdrawDeposit_user_id,Integer withdrawDeposit_getmoney_state) throws Exception {
        return withdrawDepositDao.getWithdrawDepositList(withdrawDeposit_user_id,withdrawDeposit_getmoney_state);

    }

    @Override
    public int updWithdrawDepositGetmoneyState(WithdrawDeposit withdrawDeposit) throws Exception {
        return withdrawDepositDao.updWithdrawDepositGetmoneyState(withdrawDeposit);
    }
}
